package icu.xblogs.report.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * @author Frank KONG
 * @version 1.0
 * @date 2020/11/16 12:09
 */
public class AttendanceRecord implements Serializable{

    private int id;

    private Employee employee;

    private Date accurateTime;
    private Date attendanceDate;

    public AttendanceRecord() {
    }

    public AttendanceRecord(int id, Employee employee, Date accurateTime, Date attendanceDate) {
        this.id = id;
        this.employee = employee;
        this.accurateTime = accurateTime;
        this.attendanceDate = attendanceDate;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Employee getEmployee() {
        return employee;
    }

    public void setEmployee(Employee employee) {
        this.employee = employee;
    }

    public Date getAccurateTime() {
        return accurateTime;
    }

    public void setAccurateTime(Date accurateTime) {
        this.accurateTime = accurateTime;
    }

    public Date getAttendacneDate() {
        return attendanceDate;
    }

    public void setAttendacneDate(Date attendanceDate) {
        this.attendanceDate = attendanceDate;
    }

    @Override
    public String toString() {
        return "AttendanceRecord{" +
                "id=" + id +
                ", employee=" + employee +
                ", accurateTime=" + accurateTime +
                ", attendanceDate=" + attendanceDate +
                '}';
    }
}
